<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" isELIgnored="false"%>

<%
	request.setAttribute("title", "文献详情");
	request.setAttribute("modelConfigPath", "studentManager");
%>

<%@ include file="/WEB-INF/views/shared/master/contentHeader.jsp"%>
<style type="text/css">
</style>

<t:panel cssClass="panel-flat form-detailed form-xs" customBody="true" customHead="true">
	<div class="detailed-navbar-content panel-body">
		<t:form commandName="readDocument" action="/admin/postgraduate/readDocument/save" method="post" cssClass="form-horizontal">
			<div class="hide">
				<t:hidden path="id" />
			</div>
			<t:formgroup>
				<t:label path="documentName" cssClass="col-sm-2" />
				<t:input path="documentName" colClass="col-sm-4" />
				<t:label path="readDate" cssClass="col-sm-2" />
				<t:date path="readDate" colClass="col-sm-4" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="author" cssClass="col-sm-2" />
				<t:input path="author" colClass="col-sm-4" />
				<t:label path="pageNumber" cssClass="col-sm-2" />
				<t:input path="pageNumber" colClass="col-sm-4" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="press" cssClass="col-sm-2" />
				<t:input path="press" colClass="col-sm-4" />
				<t:label path="serialNumber" cssClass="col-sm-2" />
				<t:input path="serialNumber" colClass="col-sm-4" />
			</t:formgroup>
			<t:formgroup>
				<div style="width:11.5%;float:left;">
					<t:label path="comment" cssClass="col-sm-12" />
				</div>
				<div style="width:88.5%;float:left;">
					<t:ueditor path="comment" style="height:150px;" colClass="col-sm-12" />
				</div>
			</t:formgroup>
		</t:form>
	</div>
	<t:panelFoot headingBtnCssClass="heading-btn pull-right-important">
		<t:button icon="icon-floppy-disk" onclick="saveData()" cssClass="btn-info" csize="sm">保存</t:button>
	</t:panelFoot>
</t:panel>

<script type="text/javascript">
	function saveData() {
		if (!$("form:first").valid()) {
			return;
		}
		$("form:first").submit();
	}
</script>

<%@ include file="/WEB-INF/views/shared/scripts/editor/ueditor.jsp"%>
<%@ include file="/WEB-INF/views/shared/scripts/jqueryui.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formstyling.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formpickers.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/dialog.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/contentFooter.jsp"%>